algorithm for rectangle collisions in c

join shbcf.ru